Skip to content

Lightning address support#34

Merged
benthecarman merged 5 commits intomasterfrom
ln-addr
Feb 26, 2026
Merged

Lightning address support#34
benthecarman merged 5 commits intomasterfrom
ln-addr

Conversation

@benthecarman
Copy link
Collaborator

@benthecarman benthecarman commented Dec 21, 2025

Closes #25

@alltheseas
Copy link
Collaborator

The Spark SDK requires a Breez API key to function. The TrustedFailure error is because we're using SparkWalletConfig.defaultConfig() without providing an API key.

Next Steps

  1. Request an API key (free) from Breez: https://breez.technology/request-api-key/#contact-us-form-sdk
  1. Update the config to include the API key. The SparkWalletConfig likely needs something like:
    let sparkConfig = SparkWalletConfig(apiKey: "your-breez-api-key", ...)
  2. For support: https://t.me/breezsdk or contact@breez.technology

@benthecarman
Copy link
Collaborator Author

There is an api key already provided

@benthecarman benthecarman force-pushed the ln-addr branch 7 times, most recently from 6c4aa75 to 269ddf1 Compare February 26, 2026 02:14
benthecarman and others added 2 commits February 25, 2026 20:52
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implement get_lightning_address and register_lightning_address for the
Cashu wallet using CDK's built-in npub.cash integration. When configured
with a npubcash_url, the wallet enables npub.cash during init, starts
background polling for incoming quotes, and returns deterministic
lightning addresses derived from the wallet's Nostr keys.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@benthecarman benthecarman changed the title Lightning address for spark support Lightning address support Feb 26, 2026
@benthecarman benthecarman merged commit 8e10b63 into master Feb 26, 2026
1 check passed
@benthecarman benthecarman deleted the ln-addr branch February 26, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lightning Address Support

2 participants